;
(function (window, angular) {
    'use strict';
    angular.module("Controller.Corruption", [
        "Controller.Corruption.Dashboard",
        "Controller.Corruption.DeliveryNoteWarning",
        "Controller.Corruption.DeliveryNoteWarningDbd",
        "Controller.Corruption.PriceWarning", "Controller.Corruption.PriceWarningDbd",
        "Controller.Corruption.PriceSchemeWarn", "Controller.Corruption.PriceSchemeWarnDbd",
        "Controller.Corruption.PurchaseOrderChangeWarning", "Controller.Corruption.PurchaseOrderChangeWarningDbd",
        "Controller.Corruption.UnInvoiceWarning", "Controller.Corruption.UnInvoiceWarningDbd",
        "Controller.Corruption.SellIntentionChangeWarning", "Controller.Corruption.SellIntentionChangeWarningDbd",
        "Controller.Corruption.ReportReceivableMonthWarn", "Controller.Corruption.ReportReceivableMonthWarnDbd",
        "Controller.Corruption.InvoiceNotSigned", "Controller.Corruption.InvoiceNotSignedDbd",
        "Controller.Corruption.WjServicePartForecast","Controller.Corruption.WjServicePartForecastDbd",
        "Controller.Corruption.WjServicePartForecastReport","Controller.Corruption.PurchaseInboundWarn",
        "Controller.Corruption.PurchaseInboundWarnDbd", "Controller.Corruption.DeliveryNoteUnPostWarn",
        "Controller.Corruption.DeliveryNoteUnPostDbd", "Controller.Corruption.BuyBackWarn","Controller.Corruption.BuyBackDbd",
        "Controller.Corruption.DeliveryReceiptWarn","Controller.Corruption.DeliveryReceiptWarnDbd",
        "Controller.Corruption.DataGover", "Controller.Corruption.ClueProcessing",
    ])
        .config(['$stateProvider', function ($stateProvider) {
            $stateProvider.state("app.corruption.deliveryNoteWarning", {
                url: "/deliveryNoteWarning",
                templateUrl: "view/corruption/deliveryNoteWarning.html",
                controller: "DeliveryNoteWarningCtrl",
                params: {
                    billNo: ''
                }
            });

            $stateProvider.state("app.corruption.deliveryNoteWarningDbd", {
                url: "/deliveryNoteWarningDbd",
                templateUrl: "view/corruption/deliveryNoteWarningDbd.html",
                controller: "DeliveryNoteWarningDbdCtrl",
                params: {
                    billNo: ''
                }
            });

            $stateProvider.state("app.corruption.dashboard", {
                url: "/dashboard",
                templateUrl: "view/corruption/dashboard.html",
                controller: "DashboardCtrl",
                params: {
                    fromState: '',
                    billNo:''
                }
            });

            $stateProvider.state("app.corruption.priceWarning", {
                url: "/priceWarning",
                templateUrl: "view/corruption/priceWarning.html",
                controller: "PriceWarningCtrl",
                params: {
                    billNo: ''
                }
            });
            $stateProvider.state("app.corruption.priceWarningDbd", {
                url: "/priceWarningDbd",
                templateUrl: "view/corruption/priceWarningDbd.html",
                controller: "PriceWarningDbdCtrl",
                params: {
                    billNo: ''
                }
            });

            $stateProvider.state("app.corruption.priceSchemeWarn", {
                url: "/priceSchemeWarn",
                templateUrl: "view/corruption/priceSchemeWarn.html",
                controller: "PriceSchemeWarnCtrl",
                params: {
                    billNo: ''
                }
            });
            $stateProvider.state("app.corruption.priceSchemeWarnDbd", {
                url: "/priceSchemeWarnDbd",
                templateUrl: "view/corruption/priceSchemeWarnDbd.html",
                controller: "PriceSchemeWarnDbdCtrl",
                params: {
                    billNo: ''
                }
            });

            $stateProvider.state("app.corruption.purchaseOrderChangeWarning", {
                url: "/purchaseOrderChangeWarning",
                templateUrl: "view/corruption/purchaseOrderChangeWarning.html",
                controller: "PurchaseOrderChangeWarningCtrl",
                params: {
                    billNo: ''
                }
            });
            $stateProvider.state("app.corruption.purchaseOrderChangeWarningDbd", {
                url: "/purchaseOrderChangeWarningDbd",
                templateUrl: "view/corruption/purchaseOrderChangeWarningDbd.html",
                controller: "PurchaseOrderChangeWarningDbdCtrl",
                params: {
                    billNo: ''
                }
            });

            $stateProvider.state("app.corruption.unInvoiceWarning", {
                url: "/unInvoiceWarning",
                templateUrl: "view/corruption/unInvoiceWarning.html",
                controller: "UnInvoiceWarningCtrl",
                params: {
                    billNo: ''
                }
            });
            $stateProvider.state("app.corruption.unInvoiceWarningDbd", {
                url: "/unInvoiceWarningDbd",
                templateUrl: "view/corruption/unInvoiceWarningDbd.html",
                controller: "UnInvoiceWarningDbdCtrl",
                params: {
                    billNo: ''
                }
            });

            $stateProvider.state("app.corruption.sellIntentionChangeWarning", {
                url: "/sellIntentionChangeWarning",
                templateUrl: "view/corruption/sellIntentionChangeWarning.html",
                controller: "SellIntentionChangeWarningCtrl",
                params: {
                    billNo: ''
                }
            });
            $stateProvider.state("app.corruption.sellIntentionChangeWarningDbd", {
                url: "/sellIntentionChangeWarningDbd",
                templateUrl: "view/corruption/sellIntentionChangeWarningDbd.html",
                controller: "SellIntentionChangeWarningDbdCtrl",
                params: {
                    billNo: ''
                }
            });

            $stateProvider.state("app.corruption.reportReceivableMonthWarn", {
                url: "/reportReceivableMonthWarn",
                templateUrl: "view/corruption/reportReceivableMonthWarn.html",
                controller: "ReportReceivableMonthWarnCtrl",
                params: {
                    billNo: ''
                }
            });
            $stateProvider.state("app.corruption.reportReceivableMonthWarnDbd", {
                url: "/reportReceivableMonthWarnDbd",
                templateUrl: "view/corruption/reportReceivableMonthWarnDbd.html",
                controller: "ReportReceivableMonthWarnDbdCtrl",
                params: {
                    billNo: ''
                }
            });

            $stateProvider.state("app.corruption.invoiceNotSigned", {
                url: "/invoiceNotSigned",
                templateUrl: "view/corruption/invoiceNotSigned.html",
                controller: "InvoiceNotSignedCtrl",
                params: {
                    billNo: ''
                }
            });
            $stateProvider.state("app.corruption.invoiceNotSignedDbd", {
                url: "/invoiceNotSignedDbd",
                templateUrl: "view/corruption/invoiceNotSignedDbd.html",
                controller: "InvoiceNotSignedDbdCtrl",
                params: {
                    billNo: ''
                }
            });

            $stateProvider.state("app.corruption.wjServicePartForecast", {
                url: "/wjServicePartForecast",
                templateUrl: "view/corruption/wjServicePartForecast.html",
                controller: "WjServicePartForecastCtrl",
                params: {
                    billNo: ''
                }
            });
            $stateProvider.state("app.corruption.wjServicePartForecastDbd", {
                url: "/wjServicePartForecastDbd",
                templateUrl: "view/corruption/wjServicePartForecastDbd.html",
                controller: "WjServicePartForecastDbdCtrl",
                params: {
                    billNo: ''
                }
            });

            $stateProvider.state("app.corruption.wjServicePartForecastReport", {
                url: "/wjServicePartForecastReport",
                templateUrl: "view/corruption/wjServicePartForecastReport.html",
                controller: "WjServicePartForecastReportCtrl",
                params: {
                    billNo: ''
                }
            });

            $stateProvider.state("app.corruption.purchaseInboundWarn", {
                url: "/purchaseInboundWarn",
                templateUrl: "view/corruption/purchaseInboundWarn.html",
                controller: "PurchaseInboundWarnCtrl",
                params: {
                    billNo: ''
                }
            });

            $stateProvider.state("app.corruption.purchaseInboundWarnDbd", {
                url: "/purchaseInboundWarnDbd",
                templateUrl: "view/corruption/purchaseInboundWarnDbd.html",
                controller: "PurchaseInboundWarnDbdCtrl",
                params: {
                    billNo: ''
                }
            });
            $stateProvider.state("app.corruption.deliveryNoteNotPostWarn", {
                url: "/deliveryNoteNotPostWarn",
                templateUrl: "view/corruption/deliveryNoteUnPostWarn.html",
                controller: "DeliveryNoteUnPostWarnCtrl",
                params: {
                    billNo: ''
                }
            });

            $stateProvider.state("app.corruption.deliveryNoteNotPostWarnDbd", {
                url: "/deliveryNoteNotPostWarnDbd",
                templateUrl: "view/corruption/deliveryNoteUnPostDbd.html",
                controller: "DeliveryNoteUnPostDbdCtrl",
                params: {
                    billNo: ''
                }
            });

            $stateProvider.state("app.corruption.buyBackWarn", {
                url: "/buyBackWarn",
                templateUrl: "view/corruption/buyBackWarn.html",
                controller: "BuyBackWarnCtrl",
                params: {
                    billNo: ''
                }
            });

            $stateProvider.state("app.corruption.buyBackWarnDbd", {
                url: "/buyBackWarnDbd",
                templateUrl: "view/corruption/buyBackDbd.html",
                controller: "BuyBackDbdCtrl",
                params: {
                    billNo: ''
                }
            });

            $stateProvider.state("app.corruption.deliveryReceiptWarn", {
                url: "/deliveryReceiptWarn",
                templateUrl: "view/corruption/deliveryReceiptWarn.html",
                controller: "DeliveryReceiptWarnCtrl",
                params: {
                    billNo: ''
                }
            });

            $stateProvider.state("app.corruption.deliveryReceiptWarnDbd", {
                url: "/deliveryReceiptWarnDbd",
                templateUrl: "view/corruption/deliveryReceiptWarnDbd.html",
                controller: "DeliveryReceiptWarnDbdCtrl",
                params: {
                    billNo: ''
                }
            });

            $stateProvider.state("app.corruption.dataGover", {
                url: "/dataGover",
                templateUrl: "view/corruption/dataGover.html",
                controller: "DataGoverCtrl",
                params: {
                    billNo: ''
                }
            });

            $stateProvider.state("app.corruption.clueProcessing", {
                url: "/clueProcessing",
                templateUrl: "view/corruption/clueProcessing.html",
                controller: "ClueProcessingCtrl",
                params: {
                    billNo: ''
                }
            });
        }])
    ;
})(window, window.angular);
